package com.woniuxy.cloud.ticket52;

import com.woniuxy.cloud.ticket52.common.result.Result;
import com.woniuxy.cloud.ticket52.form.OrderCreateForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(value="order52",contextId = "orderCreate")
public interface OrderCreateAPI {

    /**
     * 创建订单
     * @param
     * @return
     */
    @PostMapping("/order/create")
    public Result create(@RequestBody OrderCreateForm orderCreateForm);


}
